package com.ruoyi.order.domain;

import com.ruoyi.common.core.domain.CashEntity;
import com.ruoyi.employee.domain.EmployeeUser;
import com.ruoyi.market.domain.ConfigBase;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 店员提现订单 tb_order_cash
 *
 * @author ruoyi
 */
public class OrderCashEmployee extends CashEntity
{
    private static final long serialVersionUID = 1L;

    private EmployeeUser employeeUser;

    /** 所属店铺信息   */
    private ConfigBase shopInfo;

    public OrderCashEmployee()
    {

    }

    public EmployeeUser getEmployeeUser() { return employeeUser; }

    public void setEmployeeUser(EmployeeUser employeeUser)
    {
        this.employeeUser = employeeUser;
    }

    public ConfigBase getShopInfo()
    {
        return shopInfo;
    }

    public void setShopInfo(ConfigBase shopInfo)
    {
        this.shopInfo = shopInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderNo", getOrderNo())
            .append("userId", getUserId())
            .append("shopId", getShopId())
            .append("amount", getAmount())
            .append("status", getStatus())
            .append("qrCode", getQrCode())
            .append("wxId", getWxId())
            .append("realName", getRealName())
            .append("shopInfo", getShopInfo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("employeeUser", getEmployeeUser())
            .toString();
    }
}
